//
// Created by lfm on 2025/3/25.
//

#include "Person.h"

Person::Person(string name, int age, string sex):m_Name(name), m_Age(age), m_Sex(sex)
{
    cout << "Person的构造函数调用" << endl;
}
Person::~Person()
{
    cout << "Person的析构函数调用" << endl;
}
void Person::DisplayInfoPerson()
{
    cout << "名字->" << m_Name << endl;
    cout << "年龄->" << m_Age << endl;
    cout << "性别->" << m_Sex << endl;
}
